package com.fullertontech.framework.jdbc.log;

import org.apache.ibatis.logging.Log;
import com.fullertontech.framework.logger.Logger;

public class SqlLogImpl implements Log{
	
	public SqlLogImpl(String args) {
	}
	
	@Override
	public boolean isDebugEnabled() {
		return true;
	}

	@Override
	public boolean isTraceEnabled() {
		return false;
	}

	@Override
	public void error(String s, Throwable e) {
		Logger.error(s,e);
	}

	@Override
	public void error(String s) {
		Logger.error(s);
	}

	@Override
	public void debug(String s) {
		Logger.info(s);
	}

	@Override
	public void trace(String s) {
		Logger.warn(s);
	}

	@Override
	public void warn(String s) {
		Logger.warn(s);
	}

}
